package cn.ulc.socket.admin.model.param.staff;

import cn.ulc.store.entity.staff.StaffRole;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StaffSaveParam {
    Long id;

    @NotNull
    String name;

    @NotNull
    String loginName;

    @NotNull
    String phone;

    String remark;

    List<StaffRole> roleList;
}
